/* EasyCODE V8 */
/* EasyCODE ( 0 
I2C */
#ifndef _JI2C_H
    #define _JI2C_H

    #define A1 PORTCbits.RC10
    #define A2 PORTCbits.RC9
    #define A3 PORTBbits.RB10

    //unsigned char i2cRD=0;
    //unsigned char i2cWD=0;
    void InitI2C(void);
    void i2c_waitForIdle(void);
    void i2c_start(void);
    void i2c_repStart(void);
    void i2c_stop(void);
    unsigned char i2c_read( void );
    unsigned char i2c_write( unsigned char i2cWD );
    void i2c_ack(void);
    void i2c_nack(void);
    
    
#endif 
/* EasyCODE ) */
